package com.niit.service;

import com.niit.entity.Company;
import org.springframework.data.domain.Page;

import java.util.List;

public interface CompanyService {

    Page<Company> getCompanyPage(Integer page, Integer size, String companyName);

    void deleteCompany(Integer id);

    Company addCompany(Company company);

    List<Company> getAllCompany();

    Company getCompanyById(Integer id);
}